package apis.amapv2.com.spannablestringspannablestringbuilder.activity;

import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.cdx.answerlibrary.view.AnswerView;

import apis.amapv2.com.spannablestringspannablestringbuilder.R;

public class QuestionActivity extends AppCompatActivity {

    private Context mContext;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_question);

        initParamsAndValues();

        initView();
    }

    private void initParamsAndValues() {
        mContext = this;
    }

    private void initView() {
        AnswerView answerView = findViewById(R.id.answerview);
        answerView.setData("question.xml");
    }
}
